package com.example.musicplayer.utils;

import java.io.File;

public class FileUtils {

    public static boolean createDirectory(String path) {
        return createDirectory(new File(path));
    }

    public static boolean createDirectory(File file) {
        if (file.exists() || file.isDirectory()) {
            return true;
        } else {
            return file.mkdirs();
        }
    }

}
